<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--记得引入这个动态标签--%>
<html>
<head>
    <title>登录</title>
</head>
<body>
<br>
<hr>
<br>
<br>
<div style="text-align: center">
    <form method="post" action="${pageContext.request.contextPath}/login">
        <%--加上这句就代表配置好对应的csrf拦截器的配置了--%>

        <input type="text" name="username" placeholder="请输入用户名"><br><br>
        <input type="password" name="password" placeholder="请输入密码"><br>
        <input type="checkbox" name="remember-me" value="true">记住我
        <%--记住这个记住我一定要写的是remember-me--%>
        <input type="submit" value="提交">
    </form>
</div>
<br>
<hr>

</body>
</html>
